package ar.edu.unq.svnpermission.domain;

import java.io.Serializable;

import org.uqbar.commons.model.Entity;

/**
 * Representa un integrante
 * @author nicolas
 *
 */
public abstract class Membership extends Entity implements Serializable{

	private static final long serialVersionUID = 1L;
	private String keyName;
	private String comments;
	
	/**
	 * Constructor por defecto
	 * @author nicolas
	 */
	public Membership()
	{
		
	}
	
	/**
	 * Constructor
	 * @param name Nombre del integrante
	 * @param comments Comentarios del integrante
	 */
	public Membership(String name, String comments)
	{
		this.setKeyName(name);
		this.setComments(comments);
	}
	
	@Override
	public abstract String toString();

	
	//Getters and Setters
	public String getKeyName() {
		return keyName;
	}
	public void setKeyName(String name) {
		this.keyName = name;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	
	
	
}
